package com.zeyi.blog.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeyi.blog.entity.Dictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典表(Dictionary)表数据库访问层
 *
 * @author 黎先森
 * @since 2020-07-23 08:20:52
 */
public interface DictionaryDao extends BaseMapper<Dictionary> {
    /**
     * 按组查询所有字典
     * @param dicGroup 组
     * @return 字典列表
     */
    List<Dictionary> getAllByDicGroup(@Param("dicGroup")String dicGroup);
}